New line synchronization of coding

The procedure named normalshapemediumseriesnormalshapemediumseries\everystaff is executed each time a new system is typed. It is normally void, but it can be defined (simply by normalshapemediumseries\ def normalshapemediumseriesnormalshapemediumseries\everystaff{ ...} ) to tell MusicTEX to post anything reasonable at the beginning of each system. It was used in the example NWIDOR to post octaviation dashed lines at the end of the piece.


The procedure named normalshapemediumseriesnormalshapemediumseries\atnextline, normally void, is executed at the next computed (through normalshapemediumseriesnormalshapemediumseries\autolines) or forced line break (using normalshapemediumseriesnormalshapemediumseries\alaligne or normalshapemediumseriesnormalshapemediumseries\alapage). More precisely, it is executed after the break and before the next system is typed. Thus it is fit for posting new definitions of layout parameters, when no system is pending2.20.


In some scores, tenor parts are not code using the bass clef, but using rather the violin clef subscripted by a normalshapemediumseries8. This is not directly supported by the normalshapemediumseriesnormalshapemediumseries\cleftoksrnormalshapemediumseries= command, but it can be handled using normalshapemediumseriesnormalshapemediumseries\everystaff and normalshapemediumseriesnormalshapemediumseries\zcharnote. As an example the following score


\begin{music}
\cleftoksi={6000}
\cleftoksii={0000}
\cleftoksiii={0000}
\cl...
...
\NOtes\hu{HIJK}&\hu{efgh}&\hl{hijk}&\hl{hmlk}\enotes
\finextrait
\end{music}
was coded as:

\def\nbinstruments{4}
\cleftoksi={6000}
\cleftoksii={0000}
\cleftoksiii={0000}
\cleftoksiv={0000}
\font\eightfig=cmr8
\def\everystaff{\znotes&\zcharnote{-6}{\eightfig
  \kern -1.4\Interligne 8}&\zcharnote{-6}{\eightfig
  \kern -1.4\Interligne 8}\enotes}
\debutextrait
\normal
\NOtes\hu{HIJK}&\hu{efgh}&\hl{hijk}&\hl{hmlk}\enotes
\finextrait
where the \eightfig font declaration can obviously be omitted if the TEX format declares an 8 point roman font.